<?php /* Smarty version Smarty 3.1.4, created on 2016-09-26 14:40:24
         compiled from "view/Home/index\index.html" */ ?>
<?php /*%%SmartyHeaderCode:1190357e744eb908a32-30988659%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd738f7fde2b590756fdd278b847ed667998e46a3' => 
    array (
      0 => 'view/Home/index\\index.html',
      1 => 1474872020,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1190357e744eb908a32-30988659',
  'function' => 
  array (
  ),
  'version' => 'Smarty 3.1.4',
  'unifunc' => 'content_57e744eb97950',
  'variables' => 
  array (
    'rows' => 0,
    'row' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_57e744eb97950')) {function content_57e744eb97950($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh" dir="ltr">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="generator" content="Editplus4PHP" />
    <meta name="keywords" content="Editplus4PHP" />
    <meta name="description" content="Editplus4PHP" />
    <meta name="author" content="Leo" />
<!--
    <script type="text/javascript" src="js/common.js"></script>
    <link rel="stylesheet" type="text/css" href="css/style.css" />
    <link rel="shortcut icon" href="images/favicon.ico" />
--> <link rel="stylesheet" type="text/css" href="View/Home/Index/images/index.css" />
    <title>打卡系统首页</title>
</head>
<body>
<p style="font-size:40px;text-align:center;">PHP--07班考勤</p>
<input type="button" value="添加学生" onclick="location.href='index.php?group=Home&module=Index&act=add'">
<input type="button" value="后台管理" onclick="location.href='index.php?group=Admin&module=Index&act=index'">
<input type="button" value="登录" onclick="location.href='index.php?group=Home&module=Index&act=login'">
<div id="attend">
<?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
?>
   <div id="person">
      <p class="img"><img src="<?php echo $_smarty_tpl->tpl_vars['row']->value['user_img'];?>
" width="150px" height="150px"/></p>
      <p class="name">姓名：<?php echo $_smarty_tpl->tpl_vars['row']->value['user_name'];?>
</p>
      <a href="index.php?group=Home&module=Index&act=daka&user_id=<?php echo $_smarty_tpl->tpl_vars['row']->value['user_id'];?>
"><p class="qiandao">打卡</p></a>
   </div>
<?php } ?>

</div>
</body>
</html><?php }} ?>